package test.utils.json;

import java.util.ArrayList;
import java.util.List;

/**
 * 用于记录json的父子节点名，及当前节点名
 * @author yylc-Y02673
 *
 */
public class JsonNode {
	  
	
	private String parentName ;
	private List<String> childrenName = new ArrayList<>();
	private String name ;
	private String value;
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public List<String> getChildrenName() {
		return childrenName;
	}
	public void setChildrenName(String childrenName) {
		this.childrenName.add(childrenName);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
